/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package practikasdelsalonn;

/**
 *
 * @author Jazz
 */
public class ejersicio10 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Double x = 0.0;
    Float c= x.floatValue();
    System.out.println(c);

    Double e= c.doubleValue();

    String s= e.toString();
    System.out.println( s);

    System.out.println(Integer.parseInt(s.substring(0,s.length()-2)));
//este metodo te conbierte de double a flotante a double a string a integer
}
}
        // TODO code application logic here
    


